ChainLink

@Serializable
data class ChainLink(val isBaby: Boolean, val species: Handle.Named<PokemonSpecies>, val evolutionDetails: List<EvolutionDetail>, val evolvesTo: List<ChainLink>)(source)

A single link within an evolution chain. Each link represents a Pokémon species and the conditions required for it to evolve. See: https://pokeapi.co/docs/v2#chainlink

Parameters

isBaby

Whether or not this link is for a baby Pokémon. This would only ever be true on the base link.

species

The Pokémon species at this point in the evolution chain.

evolutionDetails

A list of evolution details for this Pokémon in order of occurrence.

evolvesTo

A list of chain objects describing further evolutions from this species.

Constructors

Link copied to clipboard
constructor(isBaby: Boolean, species: Handle.Named<PokemonSpecies>, evolutionDetails: List<EvolutionDetail>, evolvesTo: List<ChainLink>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard